package com.hotleproject.mapper;

import com.hotleproject.pojo.Users;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UsersMapper {
     Users selectUserById(String username,String password);
    void insertUser(Users users);
//    List<Users> selectUsersAll();
//    //更新用户之前的查询，并将数据在页面中回显，
//    //1.修改mapper接口
    String selectPhoneByUser(String username);
//     /*1.*/
//    void updateUser(Users users);
//    void deleteUserById(Integer id);
}
